Obi110 - Phone Line CallerID not passed to Asterisk

<< < (2/4) > >>

bravo2:
Unfortunately, this did not work.  I was getting the entire text within parentheses as DID on Asterisk end.  For example, InboundCallRoute sp2(1234567890;ui=2223334444) gave 1234567890;ui=2223334444 as DID on Asterisk side which did not match any configured route and went to catch all.  

sp2(1234567890;ui=$1) was giving 1234567890;ui=` (yes, $1 was replaced with `).

When I tried SP2(1234567890@192.168.1.5:5060;ui=2223334444), Asterisk gave the following errors. $1 instead of 2223334444 caused backquote (`) to be sent in its place
---
[2014-09-11 23:10:34] WARNING[4089][C-00000033]: chan_sip.c:16376 check_auth: username mismatch, have <gvtrunk>, digest has <2223334444>
[2014-09-11 23:10:34] NOTICE[4089][C-00000033]: chan_sip.c:25528 handle_request_invite: Failed to authenticate device <sip:2223334444@192.168.1.5>;tag=SP229f7fbffe954544
---

You mentioned about this error earlier, but I do have a trunk created for obi110. It looks like I got it wrong.  Can you please send me some pointers.

BTW, sp2(1234567890) worked just fine for InboundCallRoute on SP1 which is configured with Google Voice.

thanks

azrobert:
Do you use Freepbx to configure Asterisk?

azrobert:
I have a trunk defined on Asterisk that points to port 5061 on my OBi110 for SP2.
If I send the call to Asterisk with the following, the call is accepted.
sp2(100@192.168.1.100:5060;ui=$1)

If I send the call to Asterisk with the following, the call is rejected because there is no matching trunk definition in Asterisk.
sp1(100@192.168.1.100:5060;ui=$1)

The OBi110 call history shows this error:
End Call (403 Forbidden)

If you use Freepbx, I'll post how I defined the trunk.

The $1 variable can't be used in a speed dial.
It can only be used in an inbound call route.

Edit:
Here is my trunk definition using Freepbx:

type=peer
username=robert
host=192.168.1.100
port=5061
fromuser=robert
canreinvite=no
insecure=invite,port
qualify=yes
nat=yes

bravo2:
Yes, I use freepbx. My trunk definition does not have some of the entries given below.  Let me try this out today.  Thanks.

bravo2:
The instructions I followed were based on the following:
http://www.obitalk.com/forum/index.php?topic=1157.msg7261#msg7261.
http://wiki.freepbx.org/pages/viewpage.action?pageId=4161594

These pages have a slightly different trunk definition than the one you gave below. I will try yours tonight and post the outcome here.

Navigation

[0] Message Index

[#] Next page

[*] Previous page