|Summary:||ASTERISK-04336: SIP Registration Inbound Call Sends to From Callerid|
|Date Opened:||2005-06-03 11:13:50||Date Closed:||2011-06-07 14:02:40|
|Description:||Sip Inbound call|
When an inbound calls comes in it trying to match user based on sip:callerid and not the number being called. If I add the from callerid as a type=user then the call goes through. That is not how it supposed to work. Or if add fromuser=$number the call comes through but now the callerid is not correct.
****** ADDITIONAL INFORMATION ******
I know this worked in 1.0.5
|Comments:||By: Olle Johansson (oej) 2005-06-03 11:44:17|
Please attach a full sip debug with verbose=4 and debug=4, as well as examples of your dial plan. By "matching" do you meen dialplan matching or user/peer matching on the incoming call?
By: Olle Johansson (oej) 2005-06-03 14:37:19
Always attach debug files as attachments, not inline in the bug report. Please try again.
By: Olle Johansson (oej) 2005-06-03 14:38:36
You will always confuse the setup if you are using exetnsion numbers when naming peers.
By: Olle Johansson (oej) 2005-06-03 14:40:39
It matches the last peer on IP I guess. Default behaviour.
By: gclark (gclark) 2005-06-03 21:36:15
I want it match on default context or on user
By: Olle Johansson (oej) 2005-06-04 03:04:51
Match on default context? Seems like you have some reading to do on how it is supposed to work.
For incoming calls, we match on From username to a [user] section, after that we try to match on IP to a [peer].
This is not a bug.
By: Olle Johansson (oej) 2005-06-04 03:05:40
Not a bug. Please take this kind of issues to the mailing list. If you suspect a bug, find a bug marshal in the #asterisk-bugs channel to discuss it before you file a bug report. Thank you!