Author Topic: Multiple Numbers in one SIP Account  (Read 2018 times)

Kilrathy

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Multiple Numbers in one SIP Account
« on: May 31, 2013, 06:27:56 PM »
Hi everyone

atm I'm testing the Askozia PBX, but I've got some little problem: I have a sip account with more than one number with it.

So i configured the sip provider with username and password, as example foo and bar. Registration works fine, I'm sending the last four digts, so I've have 0577 and 0608 as signaled number. Under "Incoming Extension" I poined 0577 and 0608 each to one sip phone extension.

But when i try to call, I've got error messages like this when calling the 0577 number:

Code: [Select]
May 31 16:24:20 asterisk[2076]: NOTICE[2099]: chan_sip.c:23665 in handle_request_invite: Call from 'foobar' (10.10.80.10:5060) to extension 'foobar' rejected because extension not found in context 'SIP-PROVIDER-172698098851a8a0543c7c3-incoming'.
and this when calling 0608:

Code: [Select]
May 31 16:16:13 asterisk[2076]: NOTICE[2099]: chan_sip.c:23665 in handle_request_invite: Call from 'foobar' (10.10.80.10:5060) to extension 'XXXXXX0608' rejected because extension not found in context 'SIP-PROVIDER-172698098851a8a0543c7c3-incoming'.
So where is my fault?

Kilrathy

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Multiple Numbers in one SIP Account
« Reply #1 on: June 03, 2013, 06:34:33 PM »
Hi

Well just found it out by myself, had to check this options under the provider settings:
Add PAI: Add P-Asserted-Identity header field as defined in RFC 3325.
Add PPI: Add P-Preferred-Identity header field as defined in RFC 3325.
SIP TO as DDI: Use SIP TO header as incoming DDI

Hope this helps someone :)